package cn.group.shiro.factory;

import java.util.LinkedHashMap;

public class FilterChainDefinitionMapBuilder {

    public LinkedHashMap<String,String> buildFilterChainDefinitionMap(){
        LinkedHashMap<String,String> map = new LinkedHashMap<>();
        map.put("/static/**","anon");
        map.put("/user/login","anon");
        map.put("/code/**","anon");
        map.put("/user/quit","logout");
        map.put("/**","authc");
        return map;
    }
}
